<template>
  <el-select>
   <template v-if="data">
     <el-option
       v-for="item in data"
       :key="item.value"
       :label="item.label"
       :value="item.value"
     />
   </template>
 </el-select>
</template>

<script setup name="Select">
defineProps({data:Array})
</script>
<script >
export default {
  name: 'Select'
}
</script>
<style lang="scss" scoped>
</style>